import request from '@/utils/request'

// 获取图片列表
export function materialPhotoList(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialImageProvider/1.0.0/listMaterialImages.html',
    method: 'post',
    data: query
  })
}
// 删除图片列表
export function materialPhotoListDelete(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialImageProvider/1.0.0/deleteMaterialImageById.html',
    method: 'post',
    data: query
  })
}
// 添加图片
export function materialPhotoLisAdd(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialImageProvider/1.0.0/saveMaterialImage.html',
    method: 'post',
    data: query
  })
}
// 获取图片详情
export function materialPhotoListDetails(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialImageProvider/1.0.0/getMaterialImageById.html',
    method: 'post',
    data: query
  })
}
// 编辑图片
export function materialPhotoLisEdit(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminMaterialImageProvider/1.0.0/updateMaterialImage.html',
    method: 'post',
    data: query
  })
}
